package org.example.score.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 数量结构-专业教师承担教学情况
 * @TableName pd_sljg_zyjscdjxqk
 */
@TableName(value ="pd_sljg_zyjscdjxqk")
@Data
public class SljgZyjscdjxqk implements Serializable {
    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 年份
     */
    private String year;

    /**
     * 学校代码
     */
    private String xxdm;

    /**
     * 学校名称
     */
    private String xxmc;

    /**
     * 专业名称
     */
    private String xnzymc;

    /**
     * 专业代码
     */
    private String zydm;

    /**
     * 专业名称
     */
    private String zymc;

    /**
     * 所属单位名称
     */
    private String ssdwmc;

    /**
     * 所属单位号
     */
    private String ssdwh;

    /**
     * 专业课课程门数
     */
    private String zykkcms;

    /**
     * 专业教师授课课程数量
     */
    private String zyjsskkcsl;

    /**
     * 专业教师授课比例（%）
     */
    private String zyjsskbl;

    /**
     * 其中高级职称课程数量
     */
    private String qzgjzckcsl;

    /**
     * 其中高级职称比例（%）
     */
    private String qzgjzcbl;

    /**
     * 其中教授课程数量
     */
    private String qzjskcsl;

    /**
     * 其中教授比例（%）
     */
    private String qzjsbl;

    /**
     * 其中副教授课程数量
     */
    private String qzfjskcsl;

    /**
     * 其中副教授比例（%）
     */
    private String qzfjsbl;

    /**
     * 合计
     */
    private Double hj;

    /**
     * 在同专业得分
     */
    private Double ztzydf;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        SljgZyjscdjxqk other = (SljgZyjscdjxqk) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getYear() == null ? other.getYear() == null : this.getYear().equals(other.getYear()))
            && (this.getXxdm() == null ? other.getXxdm() == null : this.getXxdm().equals(other.getXxdm()))
            && (this.getXxmc() == null ? other.getXxmc() == null : this.getXxmc().equals(other.getXxmc()))
            && (this.getXnzymc() == null ? other.getXnzymc() == null : this.getXnzymc().equals(other.getXnzymc()))
            && (this.getZydm() == null ? other.getZydm() == null : this.getZydm().equals(other.getZydm()))
            && (this.getZymc() == null ? other.getZymc() == null : this.getZymc().equals(other.getZymc()))
            && (this.getSsdwmc() == null ? other.getSsdwmc() == null : this.getSsdwmc().equals(other.getSsdwmc()))
            && (this.getSsdwh() == null ? other.getSsdwh() == null : this.getSsdwh().equals(other.getSsdwh()))
            && (this.getZykkcms() == null ? other.getZykkcms() == null : this.getZykkcms().equals(other.getZykkcms()))
            && (this.getZyjsskkcsl() == null ? other.getZyjsskkcsl() == null : this.getZyjsskkcsl().equals(other.getZyjsskkcsl()))
            && (this.getZyjsskbl() == null ? other.getZyjsskbl() == null : this.getZyjsskbl().equals(other.getZyjsskbl()))
            && (this.getQzgjzckcsl() == null ? other.getQzgjzckcsl() == null : this.getQzgjzckcsl().equals(other.getQzgjzckcsl()))
            && (this.getQzgjzcbl() == null ? other.getQzgjzcbl() == null : this.getQzgjzcbl().equals(other.getQzgjzcbl()))
            && (this.getQzjskcsl() == null ? other.getQzjskcsl() == null : this.getQzjskcsl().equals(other.getQzjskcsl()))
            && (this.getQzjsbl() == null ? other.getQzjsbl() == null : this.getQzjsbl().equals(other.getQzjsbl()))
            && (this.getQzfjskcsl() == null ? other.getQzfjskcsl() == null : this.getQzfjskcsl().equals(other.getQzfjskcsl()))
            && (this.getQzfjsbl() == null ? other.getQzfjsbl() == null : this.getQzfjsbl().equals(other.getQzfjsbl()))
            && (this.getHj() == null ? other.getHj() == null : this.getHj().equals(other.getHj()))
            && (this.getZtzydf() == null ? other.getZtzydf() == null : this.getZtzydf().equals(other.getZtzydf()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getYear() == null) ? 0 : getYear().hashCode());
        result = prime * result + ((getXxdm() == null) ? 0 : getXxdm().hashCode());
        result = prime * result + ((getXxmc() == null) ? 0 : getXxmc().hashCode());
        result = prime * result + ((getXnzymc() == null) ? 0 : getXnzymc().hashCode());
        result = prime * result + ((getZydm() == null) ? 0 : getZydm().hashCode());
        result = prime * result + ((getZymc() == null) ? 0 : getZymc().hashCode());
        result = prime * result + ((getSsdwmc() == null) ? 0 : getSsdwmc().hashCode());
        result = prime * result + ((getSsdwh() == null) ? 0 : getSsdwh().hashCode());
        result = prime * result + ((getZykkcms() == null) ? 0 : getZykkcms().hashCode());
        result = prime * result + ((getZyjsskkcsl() == null) ? 0 : getZyjsskkcsl().hashCode());
        result = prime * result + ((getZyjsskbl() == null) ? 0 : getZyjsskbl().hashCode());
        result = prime * result + ((getQzgjzckcsl() == null) ? 0 : getQzgjzckcsl().hashCode());
        result = prime * result + ((getQzgjzcbl() == null) ? 0 : getQzgjzcbl().hashCode());
        result = prime * result + ((getQzjskcsl() == null) ? 0 : getQzjskcsl().hashCode());
        result = prime * result + ((getQzjsbl() == null) ? 0 : getQzjsbl().hashCode());
        result = prime * result + ((getQzfjskcsl() == null) ? 0 : getQzfjskcsl().hashCode());
        result = prime * result + ((getQzfjsbl() == null) ? 0 : getQzfjsbl().hashCode());
        result = prime * result + ((getHj() == null) ? 0 : getHj().hashCode());
        result = prime * result + ((getZtzydf() == null) ? 0 : getZtzydf().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", year=").append(year);
        sb.append(", xxdm=").append(xxdm);
        sb.append(", xxmc=").append(xxmc);
        sb.append(", xnzymc=").append(xnzymc);
        sb.append(", zydm=").append(zydm);
        sb.append(", zymc=").append(zymc);
        sb.append(", ssdwmc=").append(ssdwmc);
        sb.append(", ssdwh=").append(ssdwh);
        sb.append(", zykkcms=").append(zykkcms);
        sb.append(", zyjsskkcsl=").append(zyjsskkcsl);
        sb.append(", zyjsskbl=").append(zyjsskbl);
        sb.append(", qzgjzckcsl=").append(qzgjzckcsl);
        sb.append(", qzgjzcbl=").append(qzgjzcbl);
        sb.append(", qzjskcsl=").append(qzjskcsl);
        sb.append(", qzjsbl=").append(qzjsbl);
        sb.append(", qzfjskcsl=").append(qzfjskcsl);
        sb.append(", qzfjsbl=").append(qzfjsbl);
        sb.append(", hj=").append(hj);
        sb.append(", ztzydf=").append(ztzydf);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}